﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class User : Person
    {
        public User()
        {
        }

        public User(string name) : base(name)
        {
        }
        public override string Action()
        {

            Console.WriteLine("请出拳：1.剪刀 2.石头 3.布（输入相应数字）");
            string chioce = Console.ReadLine();
            switch (chioce)
            {
                case "1":
                    return "剪刀";
                case "2":
                    return "石头";
                case "3":
                    return "布";
            }
            return base.Action();
        }

    }
}
